import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:share_fit/app/components/back_btn_icon.dart';
import 'package:share_fit/app/helper/ext/tr_ext.dart';
import 'package:share_fit/generated/locales.g.dart';

import 'logic.dart';

class MetPage extends StatelessWidget {
  MetPage({Key? key}) : super(key: key);

  final logic = Get.find<MetLogic>();
  final state = Get.find<MetLogic>().state;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: const Color(0xFFF5F9FC),
      appBar: AppBar(
        leading: BackBtnIcon(onTap: () => Get.back()),
      ),
      body: Center(
        child: Text(LocaleKeys.widgets_met.ts),
      ), //此处为本例将要展示的页面
    );
  }
}
